package com.tjbank.cssys.web.service;

import com.github.pagehelper.PageInfo;
import com.tjbank.cssys.domain.CreditDerate;

import javax.servlet.http.HttpServletRequest;
import java.util.List;
import java.util.Map;

public interface CreditDerateService {

    /*获取详情 */
    Map getDetailsBybatchNumber(Map<String, String> map);

    /*详情 */
    CreditDerate selectByPrimaryKey(Long id);


    PageInfo<CreditDerate> selectList(CreditDerate creditDerate, Integer pageNum, Integer pageSize, HttpServletRequest request);

    /*修改  审批状态  0未审批1审批*/
    int UpdateAudit(CreditDerate creditDerate);


    /*修改  删除状态  UpdateAccountStatus   卡的状态 ，0无效 ,1有效  */
    int UpdateAccountStatus(CreditDerate creditDerate);


    /*Page<CreditDerate> selectList(CreditDerate creditDerate);*/

    int deleteByPrimaryKey(Long id);

    int insert(CreditDerate record);
}
